Passed
Push — master ( 74fcec...dc846b )
by
unknown
02:16
created

IsContactEmpty   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 7
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A isSatisfiedBy 0 6 1
1
export class IsContactEmpty {
2
  public isSatisfiedBy(
3
    firstName?: string,
4
    lastName?: string,
5
    company?: string
6
  ): boolean {
7
    return !firstName && !lastName && !company;
8
  }
9
}
10